<?php
$docRoot = $_SERVER ['DOCUMENT_ROOT'] . '/' . strtok ( $_SERVER ['PHP_SELF'], '/' );
include_once ($docRoot . "/application/service/db/DBConnectionManager.php");
?>

<?php

class CountryDAO {
	
	public function addCountry($countryId,$countryName,$countryFeed,$standingsFeed,$sheduleFeed){
		$connection = DBConnectionManager::getDBConnecion ();
		$sql = "insert into `country` set `country_id`='$countryId',`country_name`='$countryName',`country_feed`='$countryFeed',
		`standings_feed`='$standingsFeed',`shedule_feed`='$sheduleFeed'";
		mysql_query ( $sql ) or die ( "Unable to add team details " . mysql_error () );
		mysql_close ( $connection );
	}

}

?>